package com.lxf.education.dao;

import com.lxf.education.pojo.MessagePojo;
import com.lxf.education.pojo.ReslutPojo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Luoxingfa on 2022/5/22 0022 01:42
 */
@Mapper
public interface MessageListMapper {
    //查询所有数据信息
    List<ReslutPojo> findAll();

    //分页查询
    List<MessagePojo> getAllMessage(@Param("start")Integer start, @Param("limit")Integer limit);

    //计算出总页数
    int finCount();

}
